package com.zhou.dto.dictionary;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @Description : 修改字典
 * @Author : zyy
 * @Date: 2024/6/17  17:33
 */
@Data
public class UpdateDictionaryDTO {
    @Schema(name = "字典类型", type = "string")
    @NotEmpty(message = "字典类型不能为空")
    @TableField("dictionary_type")
    private String dictionaryType;

    @Schema(name = "字典id", type = "string")
    @NotEmpty(message = "字典id不能为空")
    @TableField("dictionary_id")
    private String dictionaryId;

    @Schema(name = "字典描述", type = "string")
    @NotEmpty(message = "字典描述不能为空")
    @TableField("dictionary_describe")
    private String dictionaryDescribe;
}
